package kikt.tk.coordinatorlayoutdemo

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.View

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

    }

    fun toFloat(view: View) {
        startActivity(FloatActivity::class.java)
    }

    fun headerBehind(view: View){
        startActivity(SecondActivity::class.java)
    }
}
